<!DOCTYPE html>
<html style="font-size: 50px;">
<head>
<#include "include/head.html"/>
</head>
<body>
<div class="article_topbar">
    <div class="edit-content"><a href="/" class="default-btn-r left-btn">返回首页</a>
        <button type="submit" form="f" class="default-btn right-btn">提交</button>
    </div>
</div>
<div class="container bg-gray hold-top">
    <div class="edit-content editor-content">
        <form action="/article/send" id="f" method="post" enctype="multipart/form-data">

            <div class="title-edit">
                <input type="text" id="editor-title" value="" name="name" placeholder="请输入标题">
            </div>
            <div class="title-edit">
                <textarea name="descript" required placeholder="请输入简介" style="width: 100%" rows="8"></textarea>
            </div>
            <div class="title-edit">
                选择主图：<input type="file" name="icon" required>
            </div>
            <div class="content-edit ql-container ql-snow" >
                <textarea name="content" id="content" style="width: 100%"></textarea>
            </div>

        </form>
    </div>
</div>
<div id="mobile_device"></div>
<div id="login_dialog"></div>
<div id="post_dialog"></div>
<div id="report_dialog"></div>
<div id="login3rd_dialog"></div>
<!-- 富文本 -->
<script charset="utf-8" src="/themes/plugins/kindeditor/kindeditor-min.js"></script>
<script charset="utf-8" src="/themes/plugins/kindeditor/lang/zh_CN.js"></script>
<script>
    KindEditor.ready(function (K) {
        window.editor = K.create("#content", {
            uploadJson: '/file/uploadFile',
            fileManagerJson: '',
            allowFileManager: false
        });
    });
</script>
</body>
</html>